<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>PxShapeExt.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="PhysXLogoBlack.png"/></td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('PxShapeExt_8h_source.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">PxShapeExt.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="PxShapeExt_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">// Redistribution and use in source and binary forms, with or without</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">// modification, are permitted provided that the following conditions</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">// are met:</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">//  * Redistributions of source code must retain the above copyright</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">//    notice, this list of conditions and the following disclaimer.</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">//  * Redistributions in binary form must reproduce the above copyright</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">//    notice, this list of conditions and the following disclaimer in the</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">//    documentation and/or other materials provided with the distribution.</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">//  * Neither the name of NVIDIA CORPORATION nor the names of its</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">//    contributors may be used to endorse or promote products derived</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">//    from this software without specific prior written permission.</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS &#39;&#39;AS IS&#39;&#39; AND ANY</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment">// PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment">// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment">// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment">// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment">// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment">// OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment">// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment">// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment">// Copyright (c) 2008-2021 NVIDIA Corporation. All rights reserved.</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment">// Copyright (c) 2004-2008 AGEIA Technologies, Inc. All rights reserved.</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment">// Copyright (c) 2001-2004 NovodeX AG. All rights reserved.  </span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#ifndef PX_PHYSICS_EXTENSIONS_SHAPE_H</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor">#define PX_PHYSICS_EXTENSIONS_SHAPE_H</span></div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="PxPhysXConfig_8h.html">PxPhysXConfig.h</a>&quot;</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="PxShape_8h.html">PxShape.h</a>&quot;</span></div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="PxRigidActor_8h.html">PxRigidActor.h</a>&quot;</span></div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="PxGeometryQuery_8h.html">geometry/PxGeometryQuery.h</a>&quot;</span></div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="preprocessor">#if !PX_DOXYGEN</span></div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacephysx.html">physx</a></div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;{</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;</div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="classPxShapeExt.html">   54</a></span>&#160;<span class="keyword">class </span><a class="code" href="classPxShapeExt.html">PxShapeExt</a></div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;{</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="classPxShapeExt.html#adf481eb1ae61121027ae6bbf5829f497">   65</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a>    <a class="code" href="classPxTransform.html">PxTransform</a>     <a class="code" href="classPxShapeExt.html#adf481eb1ae61121027ae6bbf5829f497">getGlobalPose</a>(<span class="keyword">const</span> <a class="code" href="classPxShape.html">PxShape</a>&amp; shape, <span class="keyword">const</span> <a class="code" href="classPxRigidActor.html">PxRigidActor</a>&amp; actor)</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    {</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;        <span class="keywordflow">return</span> actor.<a class="code" href="classPxRigidActor.html#a6eb5e3d590e6087c930f8141d40de722">getGlobalPose</a>() * shape.<a class="code" href="classPxShape.html#af455638230d515adbfb561f1064e70a1">getLocalPose</a>();</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    }</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;</div><div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="classPxShapeExt.html#aa96a6b923cccd8bf680d4bf9fb8aee2d">   85</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> <a class="code" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a>              <a class="code" href="classPxShapeExt.html#aa96a6b923cccd8bf680d4bf9fb8aee2d">raycast</a>(<span class="keyword">const</span> <a class="code" href="classPxShape.html">PxShape</a>&amp; shape, <span class="keyword">const</span> <a class="code" href="classPxRigidActor.html">PxRigidActor</a>&amp; actor, </div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;                                                <span class="keyword">const</span> <a class="code" href="classPxVec3.html">PxVec3</a>&amp; rayOrigin, <span class="keyword">const</span> <a class="code" href="classPxVec3.html">PxVec3</a>&amp; rayDir, <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> maxDist, PxHitFlags hitFlags,</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;                                                <a class="code" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a> maxHits, <a class="code" href="structPxRaycastHit.html">PxRaycastHit</a>* rayHits)</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;    {</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="classPxGeometryQuery.html#a79e90c0d753b17536aa1b8d1f2f29baa">PxGeometryQuery::raycast</a>(</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;            rayOrigin, rayDir, shape.<a class="code" href="classPxShape.html#a531b866a02c9dc59131bc9887c065ff8">getGeometry</a>().<a class="code" href="classPxGeometryHolder.html#a6c9aeca0bda5885f935c8aaae56851bd">any</a>(), getGlobalPose(shape, actor), maxDist, hitFlags, maxHits, rayHits);</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;    }</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;</div><div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="classPxShapeExt.html#affe9828effe773b79ab836691b72d62a">  104</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> <span class="keywordtype">bool</span>               <a class="code" href="classPxShapeExt.html#affe9828effe773b79ab836691b72d62a">overlap</a>(<span class="keyword">const</span> <a class="code" href="classPxShape.html">PxShape</a>&amp; shape, <span class="keyword">const</span> <a class="code" href="classPxRigidActor.html">PxRigidActor</a>&amp; actor, </div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;                                                <span class="keyword">const</span> <a class="code" href="classPxGeometry.html">PxGeometry</a>&amp; otherGeom, <span class="keyword">const</span> <a class="code" href="classPxTransform.html">PxTransform</a>&amp; otherGeomPose)</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;    {</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="classPxGeometryQuery.html#a62d7a791dba43d475d96a28571f585b4">PxGeometryQuery::overlap</a>(shape.<a class="code" href="classPxShape.html#a531b866a02c9dc59131bc9887c065ff8">getGeometry</a>().<a class="code" href="classPxGeometryHolder.html#a6c9aeca0bda5885f935c8aaae56851bd">any</a>(), getGlobalPose(shape, actor), otherGeom, otherGeomPose);</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;    }</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;</div><div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="classPxShapeExt.html#a9fb19195f3ac80b6ab55fd0aa7a41cf3">  127</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> <span class="keywordtype">bool</span>           <a class="code" href="classPxShapeExt.html#a9fb19195f3ac80b6ab55fd0aa7a41cf3">sweep</a>(<span class="keyword">const</span> <a class="code" href="classPxShape.html">PxShape</a>&amp; shape, <span class="keyword">const</span> <a class="code" href="classPxRigidActor.html">PxRigidActor</a>&amp; actor, </div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;                                          <span class="keyword">const</span> <a class="code" href="classPxVec3.html">PxVec3</a>&amp; unitDir, <span class="keyword">const</span> <a class="code" href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> distance, <span class="keyword">const</span> <a class="code" href="classPxGeometry.html">PxGeometry</a>&amp; otherGeom, <span class="keyword">const</span> <a class="code" href="classPxTransform.html">PxTransform</a>&amp; otherGeomPose,</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;                                          <a class="code" href="structPxSweepHit.html">PxSweepHit</a>&amp; sweepHit, PxHitFlags hitFlags)</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;    {</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="classPxGeometryQuery.html#a574970e722f882778a250c51f77b5b85">PxGeometryQuery::sweep</a>(unitDir, distance, otherGeom, otherGeomPose, shape.<a class="code" href="classPxShape.html#a531b866a02c9dc59131bc9887c065ff8">getGeometry</a>().<a class="code" href="classPxGeometryHolder.html#a6c9aeca0bda5885f935c8aaae56851bd">any</a>(), getGlobalPose(shape, actor), sweepHit, hitFlags);</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;    }</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;</div><div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="classPxShapeExt.html#a71b7808c2c0623fe264f7973be837897">  146</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> <a class="code" href="classPxBounds3.html">PxBounds3</a>      <a class="code" href="classPxShapeExt.html#a71b7808c2c0623fe264f7973be837897">getWorldBounds</a>(<span class="keyword">const</span> <a class="code" href="classPxShape.html">PxShape</a>&amp; shape, <span class="keyword">const</span> <a class="code" href="classPxRigidActor.html">PxRigidActor</a>&amp; actor, <span class="keywordtype">float</span> inflation=1.01f)</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;    {</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="classPxGeometryQuery.html#aac80fbc6fd9c2315aee6dddc9c1e9795">PxGeometryQuery::getWorldBounds</a>(shape.<a class="code" href="classPxShape.html#a531b866a02c9dc59131bc9887c065ff8">getGeometry</a>().<a class="code" href="classPxGeometryHolder.html#a6c9aeca0bda5885f935c8aaae56851bd">any</a>(), getGlobalPose(shape, actor), inflation);</div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;    }</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;};</div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;</div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;<span class="preprocessor">#if !PX_DOXYGEN</span></div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;} <span class="comment">// namespace physx</span></div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;</div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="namespacephysx_html"><div class="ttname"><a href="namespacephysx.html">physx</a></div><div class="ttdef"><b>Definition:</b> GuContactBuffer.h:37</div></div>
<div class="ttc" id="classPxShapeExt_html"><div class="ttname"><a href="classPxShapeExt.html">PxShapeExt</a></div><div class="ttdoc">utility functions for use with PxShape </div><div class="ttdef"><b>Definition:</b> PxShapeExt.h:54</div></div>
<div class="ttc" id="classPxShape_html"><div class="ttname"><a href="classPxShape.html">PxShape</a></div><div class="ttdoc">Abstract class for collision shapes. </div><div class="ttdef"><b>Definition:</b> PxShape.h:142</div></div>
<div class="ttc" id="namespacephysx_html_a727d2d8426e2a21ebbc522fa65c3f97a"><div class="ttname"><a href="namespacephysx.html#a727d2d8426e2a21ebbc522fa65c3f97a">physx::PxReal</a></div><div class="ttdeci">float PxReal</div><div class="ttdef"><b>Definition:</b> PxSimpleTypes.h:78</div></div>
<div class="ttc" id="PxShape_8h_html"><div class="ttname"><a href="PxShape_8h.html">PxShape.h</a></div></div>
<div class="ttc" id="PxRigidActor_8h_html"><div class="ttname"><a href="PxRigidActor_8h.html">PxRigidActor.h</a></div></div>
<div class="ttc" id="classPxGeometryHolder_html_a6c9aeca0bda5885f935c8aaae56851bd"><div class="ttname"><a href="classPxGeometryHolder.html#a6c9aeca0bda5885f935c8aaae56851bd">PxGeometryHolder::any</a></div><div class="ttdeci">PX_FORCE_INLINE PxGeometry &amp; any()</div><div class="ttdef"><b>Definition:</b> PxGeometryHelpers.h:72</div></div>
<div class="ttc" id="classPxShapeExt_html_a9fb19195f3ac80b6ab55fd0aa7a41cf3"><div class="ttname"><a href="classPxShapeExt.html#a9fb19195f3ac80b6ab55fd0aa7a41cf3">PxShapeExt::sweep</a></div><div class="ttdeci">static PX_INLINE bool sweep(const PxShape &amp;shape, const PxRigidActor &amp;actor, const PxVec3 &amp;unitDir, const PxReal distance, const PxGeometry &amp;otherGeom, const PxTransform &amp;otherGeomPose, PxSweepHit &amp;sweepHit, PxHitFlags hitFlags)</div><div class="ttdoc">Sweep a geometry object against the shape. </div><div class="ttdef"><b>Definition:</b> PxShapeExt.h:127</div></div>
<div class="ttc" id="classPxGeometry_html"><div class="ttname"><a href="classPxGeometry.html">PxGeometry</a></div><div class="ttdoc">A geometry object. </div><div class="ttdef"><b>Definition:</b> PxGeometry.h:75</div></div>
<div class="ttc" id="PxPhysXConfig_8h_html"><div class="ttname"><a href="PxPhysXConfig_8h.html">PxPhysXConfig.h</a></div></div>
<div class="ttc" id="classPxGeometryQuery_html_a79e90c0d753b17536aa1b8d1f2f29baa"><div class="ttname"><a href="classPxGeometryQuery.html#a79e90c0d753b17536aa1b8d1f2f29baa">PxGeometryQuery::raycast</a></div><div class="ttdeci">static PX_PHYSX_COMMON_API PxU32 raycast(const PxVec3 &amp;origin, const PxVec3 &amp;unitDir, const PxGeometry &amp;geom, const PxTransform &amp;pose, PxReal maxDist, PxHitFlags hitFlags, PxU32 maxHits, PxRaycastHit *PX_RESTRICT rayHits)</div><div class="ttdoc">Raycast test against a geometry object. </div></div>
<div class="ttc" id="PxGeometryQuery_8h_html"><div class="ttname"><a href="PxGeometryQuery_8h.html">PxGeometryQuery.h</a></div></div>
<div class="ttc" id="classPxRigidActor_html"><div class="ttname"><a href="classPxRigidActor.html">PxRigidActor</a></div><div class="ttdoc">PxRigidActor represents a base class shared between dynamic and static rigid bodies in the physics SD...</div><div class="ttdef"><b>Definition:</b> PxRigidActor.h:58</div></div>
<div class="ttc" id="classPxGeometryQuery_html_a574970e722f882778a250c51f77b5b85"><div class="ttname"><a href="classPxGeometryQuery.html#a574970e722f882778a250c51f77b5b85">PxGeometryQuery::sweep</a></div><div class="ttdeci">static PX_PHYSX_COMMON_API bool sweep(const PxVec3 &amp;unitDir, const PxReal maxDist, const PxGeometry &amp;geom0, const PxTransform &amp;pose0, const PxGeometry &amp;geom1, const PxTransform &amp;pose1, PxSweepHit &amp;sweepHit, PxHitFlags hitFlags=PxHitFlag::eDEFAULT, const PxReal inflation=0.f)</div><div class="ttdoc">Sweep a specified geometry object in space and test for collision with a given object. </div></div>
<div class="ttc" id="classPxShapeExt_html_aa96a6b923cccd8bf680d4bf9fb8aee2d"><div class="ttname"><a href="classPxShapeExt.html#aa96a6b923cccd8bf680d4bf9fb8aee2d">PxShapeExt::raycast</a></div><div class="ttdeci">static PX_INLINE PxU32 raycast(const PxShape &amp;shape, const PxRigidActor &amp;actor, const PxVec3 &amp;rayOrigin, const PxVec3 &amp;rayDir, PxReal maxDist, PxHitFlags hitFlags, PxU32 maxHits, PxRaycastHit *rayHits)</div><div class="ttdoc">Raycast test against the shape. </div><div class="ttdef"><b>Definition:</b> PxShapeExt.h:85</div></div>
<div class="ttc" id="classPxTransform_html"><div class="ttname"><a href="classPxTransform.html">PxTransform</a></div><div class="ttdoc">class representing a rigid euclidean transform as a quaternion and a vector </div><div class="ttdef"><b>Definition:</b> PxTransform.h:48</div></div>
<div class="ttc" id="classPxShapeExt_html_affe9828effe773b79ab836691b72d62a"><div class="ttname"><a href="classPxShapeExt.html#affe9828effe773b79ab836691b72d62a">PxShapeExt::overlap</a></div><div class="ttdeci">static PX_INLINE bool overlap(const PxShape &amp;shape, const PxRigidActor &amp;actor, const PxGeometry &amp;otherGeom, const PxTransform &amp;otherGeomPose)</div><div class="ttdoc">Test overlap between the shape and a geometry object. </div><div class="ttdef"><b>Definition:</b> PxShapeExt.h:104</div></div>
<div class="ttc" id="classPxGeometryQuery_html_a62d7a791dba43d475d96a28571f585b4"><div class="ttname"><a href="classPxGeometryQuery.html#a62d7a791dba43d475d96a28571f585b4">PxGeometryQuery::overlap</a></div><div class="ttdeci">static PX_PHYSX_COMMON_API bool overlap(const PxGeometry &amp;geom0, const PxTransform &amp;pose0, const PxGeometry &amp;geom1, const PxTransform &amp;pose1)</div><div class="ttdoc">Overlap test for two geometry objects. </div></div>
<div class="ttc" id="classPxBounds3_html"><div class="ttname"><a href="classPxBounds3.html">PxBounds3</a></div><div class="ttdoc">Class representing 3D range or axis aligned bounding box. </div><div class="ttdef"><b>Definition:</b> PxBounds3.h:58</div></div>
<div class="ttc" id="classPxShapeExt_html_adf481eb1ae61121027ae6bbf5829f497"><div class="ttname"><a href="classPxShapeExt.html#adf481eb1ae61121027ae6bbf5829f497">PxShapeExt::getGlobalPose</a></div><div class="ttdeci">static PX_INLINE PxTransform getGlobalPose(const PxShape &amp;shape, const PxRigidActor &amp;actor)</div><div class="ttdoc">Retrieves the world space pose of the shape. </div><div class="ttdef"><b>Definition:</b> PxShapeExt.h:65</div></div>
<div class="ttc" id="classPxGeometryQuery_html_aac80fbc6fd9c2315aee6dddc9c1e9795"><div class="ttname"><a href="classPxGeometryQuery.html#aac80fbc6fd9c2315aee6dddc9c1e9795">PxGeometryQuery::getWorldBounds</a></div><div class="ttdeci">static PX_PHYSX_COMMON_API PxBounds3 getWorldBounds(const PxGeometry &amp;geom, const PxTransform &amp;pose, float inflation=1.01f)</div><div class="ttdoc">get the bounds for a geometry object </div></div>
<div class="ttc" id="classPxRigidActor_html_a6eb5e3d590e6087c930f8141d40de722"><div class="ttname"><a href="classPxRigidActor.html#a6eb5e3d590e6087c930f8141d40de722">PxRigidActor::getGlobalPose</a></div><div class="ttdeci">virtual PxTransform getGlobalPose() const =0</div><div class="ttdoc">Retrieves the actors world space transform. </div></div>
<div class="ttc" id="structPxSweepHit_html"><div class="ttname"><a href="structPxSweepHit.html">PxSweepHit</a></div><div class="ttdoc">Stores results of sweep queries. </div><div class="ttdef"><b>Definition:</b> PxQueryReport.h:200</div></div>
<div class="ttc" id="structPxRaycastHit_html"><div class="ttname"><a href="structPxRaycastHit.html">PxRaycastHit</a></div><div class="ttdoc">Stores results of raycast queries. </div><div class="ttdef"><b>Definition:</b> PxQueryReport.h:174</div></div>
<div class="ttc" id="group__foundation_html_gacce5749db3dcfb916e98c253374264ed"><div class="ttname"><a href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a></div><div class="ttdeci">uint32_t PxU32</div><div class="ttdef"><b>Definition:</b> Px.h:48</div></div>
<div class="ttc" id="classPxShape_html_af455638230d515adbfb561f1064e70a1"><div class="ttname"><a href="classPxShape.html#af455638230d515adbfb561f1064e70a1">PxShape::getLocalPose</a></div><div class="ttdeci">virtual PxTransform getLocalPose() const =0</div><div class="ttdoc">Retrieves the pose of the shape in actor space, i.e. relative to the actor they are owned by...</div></div>
<div class="ttc" id="classPxShape_html_a531b866a02c9dc59131bc9887c065ff8"><div class="ttname"><a href="classPxShape.html#a531b866a02c9dc59131bc9887c065ff8">PxShape::getGeometry</a></div><div class="ttdeci">virtual PxGeometryHolder getGeometry() const =0</div><div class="ttdoc">Retrieve the geometry from the shape in a PxGeometryHolder wrapper class. </div></div>
<div class="ttc" id="classPxShapeExt_html_a71b7808c2c0623fe264f7973be837897"><div class="ttname"><a href="classPxShapeExt.html#a71b7808c2c0623fe264f7973be837897">PxShapeExt::getWorldBounds</a></div><div class="ttdeci">static PX_INLINE PxBounds3 getWorldBounds(const PxShape &amp;shape, const PxRigidActor &amp;actor, float inflation=1.01f)</div><div class="ttdoc">Retrieves the axis aligned bounding box enclosing the shape. </div><div class="ttdef"><b>Definition:</b> PxShapeExt.h:146</div></div>
<div class="ttc" id="group__foundation_html_gacb03347b642a2a5bdea1f9b305a6fbec"><div class="ttname"><a href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a></div><div class="ttdeci">#define PX_INLINE</div><div class="ttdef"><b>Definition:</b> PxPreprocessor.h:336</div></div>
<div class="ttc" id="classPxVec3_html"><div class="ttname"><a href="classPxVec3.html">PxVec3</a></div><div class="ttdoc">3 Element vector class. </div><div class="ttdef"><b>Definition:</b> PxVec3.h:49</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.14-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_713b4d6d20ce249967929ad234a3da6e.html">include</a></li><li class="navelem"><a class="el" href="dir_2526a3f67c1a4a5af3c2555c4f4c1667.html">extensions</a></li><li class="navelem"><a class="el" href="PxShapeExt_8h.html">PxShapeExt.h</a></li>
    <li class="footer">Copyright &copy; 2008-2021 NVIDIA Corporation, 2788 San Tomas Expressway, Santa Clara, CA 95051 U.S.A. All rights reserved. <a href="http://www.nvidia.com ">www.nvidia.com</a></li>
  </ul>
</div>
</body>
</html>
